<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>文件上传</title>
</head>
<body>

  <form action="http://localhost:8080/file/upload" enctype="multipart/form-data" method="post">

      <div>
         文件:<input type="file" name="photo">
      </div>
      <div>
          <button>上传</button>
      </div>
  </form>

</body>
</html>